home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / science / simst35.zip / INSTALL._D2 / SIM2NL.SCR < prev    next >
Text File  |  1994-08-25  |  3KB  |  94 lines

  1. SET COLOR BLACK ON CYAN;
  2. IF $MONO SET COLOR BLACK ON LIGHTGRAY;
  3.  
  4. CLS;
  5.  
  6. BOX
  7.                       NONLIN 3.2
  8.  
  9.         Nonlinear Regression and Curve Fitting
  10.  
  11.                 by Phillip H. Sherrod
  12.  
  13. Nonlin is a program for IBM PC computers that performs
  14. linear and nonlinear statistical regression analysis
  15. and curve fitting.
  16. ENDBOX;
  17. BOX;
  18. Nonlin determines the values of parameters for an equation,
  19. whose form you specify, that cause the equation to best fit
  20. a set of data values.  Nonlin can handle linear, polynomial,
  21. multivariate, logistic, exponential, and general nonlinear
  22. functions.  You specify the form of the equation to be fitted
  23. using normal algebraic notation.  Nonlin can also plot the
  24. data and fitted equation on the screen or an HP LaserJet
  25. printer.
  26. ENDBOX;
  27. BOX;
  28. For example, the following Nonlin commands fit a logistic
  29. growth equation to data for the AIDS infection rate:
  30.  
  31.     Title "Logistic Fit for AIDS Cases";
  32.     Variables year,newcases;
  33.     Parameters k1,a,b;
  34.     Function newcases = k1 / (1+exp(a+b*(year-1980)));
  35.     Plot grid;
  36. ENDBOX;
  37. BOX
  38. For more complex analyses Nonlin provides programming
  39. commands in its analysis language that include
  40. conditional statements (if, else), looping (for, while),
  41. work variables, and arrays. For example, the following
  42. Nonlin commands fit a curve consisting of two lines with
  43. a bend in the middle to some data values:
  44.  
  45.       Title "Piecewise Linear Function";
  46.       Variables x,y;
  47.       Parameters b0,b1,b2;
  48.       Double pivot = 5;
  49.       If (x < pivot) {
  50.           Function y = b0 + b1 * (x - pivot);
  51.       } else {
  52.           Function y = b0 + b2 * (x - pivot);
  53.       }
  54.       Plot grid,rline;
  55. ENDBOX;
  56. BOX
  57. A shareware version of Nonlin is available from most major
  58. bulletin boards.  The registered version of Nonlin comes
  59. with a 60 page typeset manual that explains regression
  60. analysis and gives many examples.  The registered version
  61. of the program is available for $45 ($50 if outside the
  62. United States) and may be ordered from the author:
  63.  
  64.                   Phillip H. Sherrod
  65.                    4410 Gerald Place
  66.             Nashville, TN  37205-3806  USA
  67.                      615-292-2881
  68.           Internet: 76166.2640@compuserve.com
  69. ENDBOX;
  70.  
  71. BOX
  72. NONLIN can also be run from within SIMSTAT with the use
  73. of SIM2NL, an addin program written by Normand Péladeau
  74. and Phillip H. Sherrod.  This addin program integrates
  75. NONLIN into SIMSTAT providing to NONLIN users an windows
  76. like interface with pulldown menus, context sensitive
  77. help and mouse support.  SIM2NL is sent free to all
  78. registered users of SIMSTAT or NONLIN.
  79. ENDBOX;
  80.  
  81. BOX
  82. Further information about SIM2NL can be obtained
  83. at the following addresses.
  84.  
  85.    By mail:  Normand Peladeau
  86.              Provalis Research
  87.              5000, Adam street
  88.              Montreal, QC
  89.              H1V 1W5
  90.  
  91.   By Email:  CompuServe: [71760,2103]
  92.              Internet: 71770.2103@compuserve.com
  93. ENDBOX;
  94.